﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="Member.aspx.cs" Inherits="Member" %>
<%@ MasterType VirtualPath="~/MasterPage/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style  type="text/css">
        #list_body{
            border-collapse:collapse;
            width:100%;
            font-family: 微软雅黑,黑体;
        }
        #list_body #list_head td
        {
            align-content:center;
            background-color:#e6e6e6;
            font-weight:bold;
            text-align:center;
            
        }
        #list_body tr td{
             border: solid 1px #6b6b47;
             height:60px;
             padding-left:5px;
        }
        #yearlist_bd{
            width:100%;
            border: 1px #d6d6d6 solid;
            padding-top:7px;
            padding-bottom:7px;
            margin-bottom:10px;
            background: url(<%=ResolveUrl("~/images/con_body-x.png")%>) repeat;
        }
        #yearlist_bd a{
            margin-left:15px;
            font-size:15px;
            margin-right:10px;
            display:block;
            float:left;
            height:22px;
            padding-left:3px;
            margin-bottom:5px;
        }
        #yearlist_bd a span
        {
            float:left;
	        padding:6px 10px 4px 10px;
	        line-height:12px;
        }
        .curyear{
            text-decoration:none;
	        background:url(<%=ResolveUrl("~/images/menu_on_left2.gif")%>) no-repeat left bottom;
        }
        .curyear span{
            background:url(<%=ResolveUrl("~/images/menu_on_right2.gif")%>) no-repeat right bottom;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="yearlist_bd">
        <asp:Repeater runat="server" ID="rp_yearlist">
            <ItemTemplate>
                <a <%#Convert.ToInt16( Eval("inyear"))==1?"href='Member-"+type+"-"+Eval("lyear")+".aspx' ":"disabled='disabled' style='color:#b7b8b9;'" %>  <%#Convert.ToInt16( Eval("curyear"))==1?"class='curyear'":"" %>><span><%# Eval("lyear")%>届</span></a>
            </ItemTemplate>
        </asp:Repeater>
        <div style="clear:both;"></div>
    </div>
     <table style="height: auto; width: 100%;">
        <tr>
            <td style="position: relative; height: auto; width: auto; border: 1px #d6d6d6 solid;
                text-align: left; vertical-align: top; background: url(<%=ResolveUrl("~/images/con_body-x.png")%>) repeat;">
                <div style="height: 20px; width: 99%; margin-left: 2px; border: 1px solid #d6d6d6;
                    margin-top: 5px; background-color: #b7b8b9;">
                    <span style="margin-left: 10px; display: block; margin-top: 2px;">现在的位置:首页→ 社团成员→ 
                        <asp:Label ID="theclass" runat="server"></asp:Label>
                    </span>
                </div>
                <div id="contentbody" style="margin-top: 10px; margin-bottom: 10px; background-color: White;
                    width: 97%; margin-left: 10px;">
                    <div id="contenttitle" style="text-align: center; padding-top: 25px; margin-top: 10px;
                        font-size: 30px; position: relative; margin-left: -270px; left: 50%; width: 550px;
                        font-family: 微软雅黑,黑体;font-weight:bold;">
                        <asp:Label ID="yeartitle" runat="server"></asp:Label>
                    </div>
                    <div id="contentmore" style="line-height: 150%; text-align: left; padding: 15px 10px 10px 10px;
                        font-size: 18px; width: 97%; min-height: 400px; position: relative; margin-bottom: 10px;
                        font-family: 宋体; min-height: 500px; _height: 500px;">
                        
                        <table id="list_body">
                            <tr id="list_head">
                                <td>
                                    <%=(Convert.ToInt16(type) == 2) ? "学号" : "职务"%> 
                                </td>
                                <td>
                                    姓名
                                </td>
                                <td>
                                    班级
                                </td>
                                <td>
                                    电话
                                </td>
                                <td>
                                    短号
                                </td>
                            </tr>
                            <asp:Repeater runat="server" ID="feed_repeater">
                                <ItemTemplate>
                                    <tr>
                                        <td>
                                            <%#(Convert.ToInt16(type) == 2) ? Eval("stuid") : Eval("zhiwu")%> 
                                        </td>
                                        <td>
                                            <%# Eval("Name")%>
                                        </td>
                                        <td>
                                            <%# Eval("m_class")%>
                                        </td>
                                        <td>
                                            <%# Eval("phone")%>
                                        </td>
                                        <td>
                                            <%# Eval("short")%>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:Repeater>
                        </table>

                    </div>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>

